package com.pactera.madp.cp.api.feign;

import com.pactera.madp.common.core.constant.SecurityConstants;
import com.pactera.madp.common.core.constant.ServiceNameConstants;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestHeader;

/**
 * RemoteChannelCodeContactStatisticsService
 *
 * @author jun
 * @version 1.0
 * 2021/8/10 16:43
 **/
@FeignClient(contextId = "remoteChannelCodeContactStatisticsService",value = ServiceNameConstants.CP_SERVICE)
public interface RemoteChannelCodeContactStatisticsService {

    @PutMapping("/channelcodecontact/syn")
    @ApiOperation(value = "同步渠道活码信息")
    void channelCodeContact(@RequestHeader(SecurityConstants.FROM) String from);
}
